package com.gljx.web.service;

import com.gljx.web.Entity.Outwarehousechild;
import com.gljx.web.Entity.Outwarehousetable;

import java.util.List;

/**
 * 出库登记业务逻辑接口
 *
 * @Author: WuLianFa
 * @CreationTime: 2018/6/1 0001 14:29
 */
public interface OutwarehousetableService {
    /**
     * 查询全部出库父表信息
     * Created by WuLianFa on 2018/6/1 0001 16:41
     */
    List<Outwarehousetable> queryAllOutwarehouseRecord(String ckSchoolid, String startTime, String endTime);

    /**
     * 父表新增出库记录
     * Created by WuLianFa on 2018/6/8 0008 15:16
     */
    void insertOutwarehouseRecordParent(Outwarehousetable outwarehousetable);

    /**
     * 根据出库编号查询出库父表信息
     * Created by WuLianFa on 2018/6/6 0006 09:59
     */
    Outwarehousetable selectByckId(String ckId);

    /**
     * 修改父表信息
     * Created by WuLianFa on 2018/6/11 0011 15:40
     */
    void updateOutwarehouseRecordParent(Outwarehousetable outwarehousetable);

    /**
     * 删除父类出库记录
     * Created by WuLianFa on 2018/6/6 0006 09:50
     */
    void deleteOutwarehouseMassageParent(String ckId);

    /**
     * 查询全部出库物品子表信息
     * Created by WuLianFa on 2018/6/1 0001 16:42
     */
    List<Outwarehousechild> queryAllOutwarehouseChildRecord(String ckOutwarehouseid, String ckOutwarehousegoodsname, String ckOutwarehousegoodstype, String ckOutwarehouseggid);

    /**
     * 子表新增出库记录
     * Created by WuLianFa on 2018/6/8 0008 15:16
     */
    void insertOutwarehouseRecordChild(Outwarehousechild outwarehousechild);

    /**
     * 修改子表信息
     * Created by WuLianFa on 2018/6/11 0011 15:40
     */
    void updateOutwarehouseRecordChild(Outwarehousechild outwarehousechild);

    /**
     * 删除子类出库记录
     * Created by WuLianFa on 2018/6/6 0006 09:50
     */
    void deleteOutwarehouseMassageChild(String ckId);
}
